﻿<cfscript>
/** 
* ORM StudentMarkResitTemp
* 
* @hint "Hibernate persistenter t_temp_mark_resit. 补考成绩提交临时表" 
* 
*/  

component 
	displayname="public.service.orm.senate.StudentMarkResitTemp" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="StudentMarkResitTemp" 
	table="t_temp_mark_resit"
	{
		
	property type="string" name="ChooseID" column="scc_id" fieldtype="id" generator="assigned" hint="学生选课号";
		
	property type="string" name="TaskType" column="task_type" hint="教学任务类别";
	property type="string" name="Retaking" column="retaking" hint="是否重修标志";
	property type="string" name="MarkMode" column="mark_mode" hint="计分模式";
	property type="numeric" name="MarkLimite" column="mark_limite" hint="最高成绩";
	property type="numeric" name="MarkResit" column="mark_resit" hint="补考成绩";
	property type="string" name="MarkResitNote" column="mark_renote" hint="补考成绩备注";
		
	property name="Student" fieldtype="many-to-one" fkcolumn="stu_id" cfc="Student"  hint="学生";
	property name="Course" fieldtype="many-to-one" fkcolumn="cid" cfc="Course"  hint="课程";
	property name="Term" fieldtype="many-to-one" fkcolumn="term_id" cfc="Term"  hint="学期";
	property name="ExamResitPlan" fieldtype="many-to-one" fkcolumn="task_id" cfc="ExamResitPlan"  hint="补考任务";
		
}
	
</cfscript>